<div id="menu">     
        <div class="uk-container uk-container-center">

            <nav class="uk-navbar">
                <ul class="uk-navbar-nav">
                
                <?php if ($user[0]->user_level==3): ?>
                <!-- Kompanije -->
                <li><a href="<?php echo base_url() ?>humanresources/kompanije" class="uk-navbar-nav-subtitle">Kompanije<div>i sektori</div></a></li>
                <?php endif; ?> 

                <!-- Profil korisnika -->
                <li class="uk-active" data-uk-dropdown><a href="<?php echo base_url() ?>humanresources/profil_korisnika" class="uk-navbar-nav-subtitle">Profil<div>korisnika</div></a>
                
                <!-- Izmeni profil -->  
                <?php if ($user[0]->user_level==3): ?>    
                <div class="uk-dropdown">
                    <ul class="uk-nav uk-nav-dropdown">
                        <li><a href="<?php echo base_url() ?>humanresources/izmeni_profil" class="">Izmeni Profil</a></li>
                    </ul>
                </div>
                <?php endif; ?>     

                </li>

                <!-- Opis posla i primeri-->
                <!--<?php if ($user[0]->user_level==2 || $user[0]->user_level==1): ?>    
                <li data-uk-dropdown><a href="<?php echo base_url() ?>humanresources/opis_posla" class="uk-navbar-nav-subtitle">Opis posla<div>upitnik</div></a>-->
                    <!--<div class="uk-dropdown">
                        <ul class="uk-nav uk-nav-dropdown">
                            <li><a href="<?php echo base_url() ?>humanresources/primeri" class="">Primeri</a></li>
                        </ul>
                    </div>-->
                <!--</li>
                <?php endif; ?>-->
                
                <!-- Opis posla verzija 1 -->
                <!--<?php if ($user[0]->user_level==1 ): ?>
                <li><a href="<?php echo base_url() ?>humanresources/finalna_verzija" class="uk-navbar-nav-subtitle">Opis Posla<div>verzija 1</div></a></li>
                <?php endif; ?>-->

                <!-- Opis posla -->
                <?php if ($user[0]->user_level==1 ): ?>
                <li><a href="<?php echo base_url() ?>humanresources/opis_posla" class="uk-navbar-nav-subtitle">Opis posla</a></li>
                <?php endif; ?>

                <!-- Primeri -->
                <?php if ($user[0]->user_level==1 ||  $user[0]->user_level==2): ?>
                <li><a href="<?php echo base_url() ?>humanresources/primeri" class="uk-navbar-nav-subtitle">Primeri</a></li>
                <?php endif; ?>
                

                <!-- <?php //if (isset($userpregledan)): 
                    //echo '<li><a href="';
                    //echo base_url();
                    //echo 'humanresources/finalna_verzija_nova" class="uk-navbar-nav-subtitle">Opis Posla<div>verzija 2</div></a></li>';
                     //endif; ?>
                <?php //endif; ?>-->


                <?php if ($user[0]->user_level>=2): ?>     
                    <li  data-uk-dropdown><a href="<?php echo base_url() ?>humanresources/spisak_korisnika" class="uk-navbar-nav-subtitle">Lista korisnika<div></div></a>
                        <?php if ($user[0]->user_level==3): ?> 
                        <div class="uk-dropdown">
                            <ul class="uk-nav uk-nav-dropdown">
                                <li><a href="<?php echo base_url() ?>humanresources/spisak_korisnika" class="">Lista korisnika</a></li>
                                <li><a href="<?php echo base_url() ?>humanresources/dodaj_korisnika" class="">Dodaj korisnika</a></li>
                            </ul>
                        </div>
                        <?php endif; ?>  
                    </li>
                <?php endif; ?>    
                    
                </ul>
                <div class="uk-navbar-flip">
                    <ul class="uk-navbar-nav">
                        <li><a href="<?php echo base_url() ?>humanresources/userLogout">Logout</a></li>
                    </ul>
                </div>
            </nav>
        </div>
    </div>